The magic of algorithms is not limited to social media ads, instead, it has started capturing the stock market